	<?php get_header(); ?>

    
    <!--PAGE CONTENT-->
	<div class="container">
<div class="row"><div class="span12">
            	<h1>&nbsp;</h1>
        </div></div>
       	<div class="clearfix">
		<div class="row"><!-- Main -->
        <div id="blog" <?php post_class('span8'); ?>>
      
   <?php
      if (have_posts()) : while (have_posts()) : the_post();
   ?>
   <?php 
			$format = get_post_format(); 

			if( false === $format ) { $format = 'standard'; }
			?>
<article>
            	 <div class="post">
                   <?php if( $format == 'standard' || $format == 'gallery' || $format == 'image' || $format == 'video' || $format == 'audio' ) { ?>
                
                 <?php } ?>
              
                  <?php if($format == 'aside') { ?>
                    <div class="text">
                        <p><?php the_content(); ?></p>
                        </div>
                        <div class="marginbottom40"></div>
                        
                   <?php } else if($format == 'quote') { ?>
							<div class="posttype entry-quote">
                            
                            <h3><?php echo get_post_meta($post->ID, $prefix.'_quote', true); ?></h3>
                            <p class="quote-source">- <?php the_title(); ?></p> 
                        	</div>
                        <p class="text"><?php the_content(); ?></p>
                
                
                    <?php } else if($format == 'link') { ?>
                  
                <div class="posttype entry-link">
                    <h3><a href="<?php echo get_post_meta($post->ID, $prefix.'_link', true); ?>" target="_blank"><?php the_title(); ?></a></h3>
                </div> 	
		<p class="absolute-text"><a href="<?php echo get_post_meta($post->ID, $prefix.'_link', true); ?>" target="_blank"><?php echo get_post_meta($post->ID, $prefix.'_link', true); ?></a></p>				
                       <p class="text"> <?php the_content(); ?></p>
<div class="marginbottom40"></div>
                       
                        
<?php }	else if($format == 'standard' || $format == 'audio' || $format == 'video' || $format == 'image' || $format == 'gallery') { ?>
                    
					<?php get_template_part( 'includes/' . $format ); ?>
                      
                    <?php }  ?>
                <!-- /Title -->

		</div>  <p class="absolute-text"> <?php echo __( 'Tags', 'themeText' ); ?> ; <?php the_tags(' ',' , ',' '); ?></p>
        </article>
        
        <div class="clearfix" /></div>
        <article>
<?php comments_template( '', true ); ?>
</article>
 
   
  <?php endwhile; endif;?>
                </div>
  <aside id="sidebar" class="span4">
            
<?php get_sidebar(); ?>        
         </aside> 
        <!-- /Sidebar -->             
        </div>
        <!-- /Box1 --></div>

</div>
    <?php get_footer(); ?>